<%--
 *  File:   ScourCardDetailComRpt.jsp
 *  Desc:	Report Director depend on eSpreadsheet
 *
 *  Date		         Author		      Changes
 *  2013-01-11	  		shigang	 	  Created
 *   
 *
 *  Copyright (C) 2000 - 2008 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page import="com.oval.util.*" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>
<%//init param
			String privilegeCode = "10223";
			String strTableName = "";
			String strModuleName = "COM";
			String contextPath = request.getContextPath();

			%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/FrmDefault.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>
<%--<%@ include file="/phap/inc/ExportURL.inc"--%>

<%@ include file="/rpt/ReportURL.inc"%>
<iframe name="reloadHandler" style="display:none"></iframe>
<html>
<head>
<title>targetDownMonth</title>
<PageFlow:CheckPageFlow pageName="prodinfobasedata" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath %>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/FuncLib.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/Calendar.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>



<%@ include file="/inc/SummaryDivision.inc" %>
<%Vector totalsummary = (Vector) pageContext.getAttribute("totalsummary");
			if (totalsummary == null)
				totalsummary = new Vector();

			HashMap UserInfo = (HashMap) session.getAttribute("userinfo");
			if (UserInfo == null)
				UserInfo = new HashMap();
    Integer loginemployeeid = (Integer)UserInfo.get("employeeid");
    java.util.Calendar cal = java.util.Calendar.getInstance(); 
			%>

<%--  put your custom script here   --%>

<script language="JavaScript">

function page_summary(actionvalue,orderbyname)
{
  var editform = summaryPrepare(cform,actionvalue,orderbyname);
  if(!editform) return;
  	editform.action = "ScourCardDetailComRpt.jsp?<%= OvalTools.randomURL() %>";
    editform.target = "_self";
    isRunning = true;
    editform.submit();
}

function page_popwindow(flag){
  document.cform.flag.value=flag;
  	if(popwindow!=null)
    	popwindow.close();
   var  areaids = "";
  if(flag == "area"){
    areaids = cform.areaid.value;

   }
  if(flag == "region"){
    areaids = cform.regionareaid.value;

  }
  var url = "../../ordermanagement/oe/SelectAreaTree.jsp?"+"<%= OvalTools.randomURL() %>&areaids="+areaids;
	var windowAttribute = "height=400, width=260,top=100,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
	if(popwindow!=null) popwindow.close();
 	popwindow = window.open(url,null,windowAttribute);
}
/*function page_setBusinessArea(id,areaname,parentid)
{
  var flag = document.cform.flag.value;
  if(flag == "area"){
    cform.areaid.value=id;
  	cform.areaname.value=areaname;
   }
  if(flag == "region"){
    cform.regionareaid.value=id;
  	cform.regionareaname.value=areaname;
  }
}*/

function page_setBusinessArea(areaids,areanames){
	var flag = document.cform.flag.value;
  if(flag == "area"){
    cform.areaid.value=areaids;
  	cform.areaname.value=areanames;
   }
  if(flag == "region"){
    cform.regionareaid.value=areaids;
  	cform.regionareaname.value=areanames;
  }
}

function popWindowsPartnerBusiAreaTree(){
	var url = "PartnerBusiAreaTreePop.jsp?"+"<%= OvalTools.randomURL() %>";
	var windowAttribute = "height=400, width=260,top=100,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
	if(popwindow!=null) popwindow.close();
 	popwindow = window.open(url,null,windowAttribute);
}
function page_setPartnerBusinessArea(id,areaname,parentid){
	document.cform.partnerareaname.value = areaname;
	document.cform.partnerareaid.value = id;
}

function popSelectProductWindow(){
	var url = "<%=contextPath%>/devlop/distributortender/ProdPopWindow.jsp?"+"threadxcnt=0.06165288538971159"+"&orgid=1&languagecode=cn";
	var windowAttribute = "height=250, width=400,top=100,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
  	if(popwindow!=null)
    popwindow.close();
  	popwindow = window.open(url,'hospitalinfo',windowAttribute);
}
function page_setproduct(id,umcode,prodcode,prodname){
	
	document.cform.prdn.value=prodname;
	document.cform.prodid.value=id;

}

/*function popWindowShowOrgPage(){
	var url = "OrgPopWindow.jsp?"+"threadxcnt=0.06165288538971159"+"&orgid=1&languagecode=cn";
	var windowAttribute = "height=400, width=600,top=100,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
  	if(popwindow!=null)
    popwindow.close();
  	popwindow = window.open(url,'hospitalinfo',windowAttribute);
}*/

/*function set_orgNameByPopWindow(id,name,code){
	document.cform.customercode.value=code;
	document.cform.customername.value=name;
	document.cform.customerid.value=id;
}*/

function popWindowShowPartnerPage(){
	var url = "PartnerPopWindow.jsp?"+"threadxcnt=0.06165288538971159"+"&orgid=1&languagecode=cn";
	var windowAttribute = "height=400, width=600,top=100,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
  	if(popwindow!=null)
    popwindow.close();
  	popwindow = window.open(url,'hospitalinfo',windowAttribute);
}

function set_partnerNameByPopWindow(id,name,code){
	document.cform.partnercode.value=code;
	document.cform.partnername.value=name;
	document.cform.partnerid.value=id;
}

function download() {
	var begindate = document.cform.beginyear.value+"-"+document.cform.beginmonth.value;
	//var beginmonth = document.cform.beginmonth.value;
	var enddate = document.cform.endyear.value+"-"+document.cform.endmonth.value;
	//var endmonth = document.cform.endmonth.value;
	var prodid = document.cform.prodid.value;
	var orgid = document.cform.orgid.value;
	var partnerid = document.cform.partnerid.value;
	var areaid = document.cform.areaid.value;
	var salestype = document.cform.salestype.value;
	var regionareaid = document.cform.regionareaid.value;
	var salesdetailtype = document.cform.salesdetailtype.value;

    var viewflowdatetype = document.cform.viewflowdatetype.value;


    if (salesdetailtype == 1)
	{     if (viewflowdatetype == 1)
	        {       
                var url1 = "<%=reportURL%>/servlet/ExcecuteReport/Salesdetailnew.sox?__folder=/ovalreport&salesbegindate="+begindate  +"&salesenddate="+enddate+"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+orgid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>";
                    var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                    popwindow = window.open(url1, "n1window", strstatus);
                        
                        
                                    }else
            {
                var url1 = "<%=reportURL%>/servlet/ExcecuteReport/Salesdetailnew.sox?__folder=/ovalreport&begindate="+begindate  +"&enddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+orgid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>";
                        var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                        popwindow = window.open(url1, "n1window", strstatus);
            }
    }else{
	if (salesdetailtype == 2)
	{
        if (viewflowdatetype == 1)
	        {
                 var url1 = "<%=reportURL%>/servlet/ExcecuteReport/Purchasedetailnew.sox?__folder=/ovalreport&salesbegindate="+begindate  +"&salesenddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+orgid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>";
                var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                popwindow = window.open(url1, "n1window", strstatus);
            }else
            {
                var url1 = "<%=reportURL%>/servlet/ExcecuteReport/Purchasedetailnew.sox?__folder=/ovalreport&begindate="+begindate  +"&enddate="+enddate+"&loginenddate="+enddate  +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+orgid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>";
                    var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                    popwindow = window.open(url1, "n1window", strstatus);
            }

	}
	else
	{
        if (viewflowdatetype == 1)
	        {
                 var url1 = "<%=reportURL%>/servlet/ExcecuteReport/Alldetailnew.sox?__folder=/ovalreport&salesbegindate="+begindate  +"&salesenddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+orgid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>";
                    var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                    popwindow = window.open(url1, "n1window", strstatus);
            }else
            {
               var url1 = "<%=reportURL%>/servlet/ExcecuteReport/Alldetailnew.sox?__folder=/ovalreport&begindate="+begindate  +"&enddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+orgid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>";
                var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                popwindow = window.open(url1, "n1window", strstatus);
            }

	}
    }
}

function popWindowShowContactPage(){
	var url = "popWindowContactInfo.jsp?"+"<%= OvalTools.randomURL() %>"+"&orgid=1&languagecode=<%=strLanguageCode%>";
	var windowAttribute = "height=400, width=800,top=100,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
	if(popwindow!=null)
    popwindow.close();
  	popwindow = window.open(url,'ContactInfo',windowAttribute);
}

function set_contactNameByPopWindow(id,name,code){
	document.cform.contactcode.value=code;
	document.cform.contactname.value=name;
	document.cform.contactid.value=id;
}


function popWindowShowParentContactPage(){
	var url = "popWindowParentContactInfo.jsp?"+"<%= OvalTools.randomURL() %>"+"&orgid=1&languagecode=<%=strLanguageCode%>";
	var windowAttribute = "height=400, width=800,top=100,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
	if(popwindow!=null)
    popwindow.close();
  	popwindow = window.open(url,'ContactInfo',windowAttribute);
}

function set_ParentcontactNameByPopWindow(id,name,code){
	document.cform.parentcontactcode.value=code;
	document.cform.parentcontactname.value=name;
	document.cform.parentcontactid.value=id;
}

function page_setprod(id,name)
{

  document.cform.prodid.value = id;
  document.cform.prdn.value = name;
  if (popwindow != null)
    popwindow.close();
}
function page_popwindow1(){
  	if(popwindow!=null)
    	popwindow.close();
  		var strurl="<%=contextPath%>/phap/phap.datp/masterdata/kdm/ProductSelect.jsp?<%= OvalTools.randomURL()%>&languagecode=<%=strLanguageCode%>&clear=Y&category=4";
  	   var strStatus= "height=700,width=800,top=100,left=100,toolbar=n0, menubar=no, scrollbars=no, resizable=no, location=no, status=yes";
 	   popwindow=window.open(strurl, "newwindow",strStatus);
}
function poporg(flag)
{
  document.cform.flag.value=flag;
  window.open("OrgSelect.jsp?<%= OvalTools.randomURL() %>&selectoption=owner&languagecode=<%= strLanguageCode %>", "newwindow", "height=250, width=600,top=100,left=100,toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, status=no");
}
function page_setOrg(id,name,code)
{
  var flag = document.cform.flag.value;
  if(flag == "sales"){
  cform.orgid.value = id;
  cform.salesorgname.value = name;
   }
  if(flag == "parent"){
  cform.partnerid.value = id
  cform.parentorgname.value = name;
  }
}

function popWindowShowOrgPage(){
	var url = "../../devlop/rpt/OrgPopWindow4checkboxFrm.jsp?<%= OvalTools.randomURL() %>"+"&languagecode=<%=strLanguageCode%>"+"&clear=Y&category=1&globalpccode=112";
	var windowAttribute = "height=600, width=700,top=40,left=100, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes";
  	if(popwindow!=null)
    popwindow.close();
  	popwindow = window.open(url,'hospitalinfo',windowAttribute);
}

function set_orgNameByPopWindow(id,name,code){
	cform.orgid.value = id;
    cform.salesorgname.value = name;
}

function downloadcsv() {
	var begindate = document.cform.beginyear.value+"-"+document.cform.beginmonth.value;
	//var beginmonth = document.cform.beginmonth.value;
	var enddate = document.cform.endyear.value+"-"+document.cform.endmonth.value;
	//var endmonth = document.cform.endmonth.value;
	var prodid = document.cform.prodid.value;
	var orgid = document.cform.orgid.value;
	var partnerid = document.cform.partnerid.value;
	var areaid = document.cform.areaid.value;
	var salestype = document.cform.salestype.value;
	var regionareaid = document.cform.regionareaid.value;
	var salesdetailtype = document.cform.salesdetailtype.value;

    var viewflowdatetype = document.cform.viewflowdatetype.value;


    if (salesdetailtype == 1)
	{     if (viewflowdatetype == 1)
	        {       
                   var url1 = "<%=reportURL%>/csv?__report=/ovalreport/salesdetail.txt"+"&salesbegindate="+begindate  +"&salesenddate="+enddate+"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+areaid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>&zip=true";
    
                      var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                       popwindow = window.open(url1, "n1window", strstatus);
                        
                        
                                    }else
            {
                var url1 = "<%=reportURL%>/csv?__report=/ovalreport/salesdetail.txt"+"&begindate="+begindate  +"&enddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+areaid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>&zip=true";
                        var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                        popwindow = window.open(url1, "n1window", strstatus);
            }
    }else{
	if (salesdetailtype == 2)
	{
        if (viewflowdatetype == 1)
	        {
                 var url1 = "<%=reportURL%>/csv?__report=/ovalreport/Purchasedetail.txt"+"&salesbegindate="+begindate  +"&salesenddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+areaid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>&zip=true";
                var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                popwindow = window.open(url1, "n1window", strstatus);
            }else
            {
                var url1 = "<%=reportURL%>/csv?__report=/ovalreport/Purchasedetail.txt"+"&begindate="+begindate  +"&enddate="+enddate+"&loginenddate="+enddate  +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+areaid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>&zip=true";
                    var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                    popwindow = window.open(url1, "n1window", strstatus);
            }

	}
	else
	{
        if (viewflowdatetype == 1)
	        {
                 var url1 = "<%=reportURL%>/csv?__report=/ovalreport/ProdInfo.sox"+"&salesbegindate="+begindate  +"&salesenddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+areaid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>&zip=true";
                    var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                    popwindow = window.open(url1, "n1window", strstatus);
            }else
            {
               var url1 = "<%=reportURL%>/csv?__report=/ovalreport/ProdInfo.sox"+"&begindate="+begindate  +"&enddate="+enddate +"&loginenddate="+enddate +"&itemidstr=" +prodid +"&prodids=" +prodid +"&orgidstr="+orgid+"&partneridstr="+partnerid+"&areaidstr="+areaid+"&salestype="+salestype+"&partnerareaidstr="+regionareaid+"&loginuserid=<%=loginemployeeid%>&zip=true";
                var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
                popwindow = window.open(url1, "n1window", strstatus);
            }

	}
    }
}
function exportCSV(){
	var startdate = document.cform.startyears.value+"-"+document.cform.startmonths.value;

	//var enddate = document.cform.endyears.value+"-"+document.cform.endmonths.value;
	var prodid= document.cform.prodid.value;
	var categoryid= document.cform.categoryids.value;




	if(-1 != categoryid)
	{
	    var url = "<%=reportURL%>/servlet/ExcecuteReport/ProdInfo.sox?__format=xlsx&__folder=/ovalreport&prodid="+prodid+"&categoryid="+categoryid+"&startdate="+startdate;
	    var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
	    popwindow = window.open(url, "n1window", strstatus);
	}
	else{
	    var url = "<%=reportURL%>/servlet/ExcecuteReport/ProdInfo.sox?__format=xlsx&__folder=/ovalreport&prodid="+prodid+"&startdate="+startdate;
	    var strstatus="height=768, width=1024,top=0,left=0,toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no";
	    popwindow = window.open(url, "n1window", strstatus);
	}
		

}



</script>

</head>
<body style="overflow: auto;" >

<form name="cform" method="post" action="<%=contextPath%>/Dispatcher">
	<input type="hidden" name="pagename" value="prodinfobasedata">
	<input type="hidden" name="actionname">
	<input type="hidden" name="prodcode">
    <input type="hidden" name="flag"/>
	<custom:hidden property="languagecode" scope="session" name="userinfo"/>
	<custom:hidden property="contactid" scope="session" name="userinfo" changedName="loginid"/>
	<custom:hidden  property="year"></custom:hidden>
    <custom:hidden property="month"></custom:hidden>
	<%--  page location   --%>
<%@ include file="/inc/PageLocation.inc"%>


<table width="100%" border="0" cellpadding="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellspacing="0" align="center">
<!-------------------------------------1 row -------------------------------------------------->
	<tr>
			<td class="title_center">
			<div align="left">
				<%=label.getLabelName("L_Product")	+ label.getLabelName("L_Colon")%>
				<custom:text  property="prdn" size="30" readonly="true"/>&nbsp;<a onclick="page_popwindow1();"><custom:button type="3" label="L_Asterisk" imgsrc="flash.gif" border="0"/></a>
        		<custom:hidden property="prodid"/>
        		
        		<%=label.getLabelName("L_DrugsTypes")	+ label.getLabelName("L_Colon")%>
				<custom:select  optionsName="allcategories" optionValueKey="categoryid" optionInnerTextKey="categoryname"  property="categoryids" defaultValue="-----" />
            	<custom:hidden property="categoryid"/>
            	
            	
            	
		  </div>
          </td>
          
          <%
                  String year = cal.get(Calendar.YEAR)+"";     
					String month = cal.get(Calendar.MONTH)+"";
					if(cal.get(Calendar.MONTH) == 0){
						month = "12";
						year = (cal.get(Calendar.YEAR)-1)+"";
					}  
					
				%>
	
		<td class="title_center">
			<div align="left">		
				<%=label.getLabelName("L_Year1")+label.getLabelName("L_Colon")%>
				<custom:selectdic property="startyears" dictType="Years" command="notnull" value="<%=year %>" label="L_Year1" />
				
				<%=label.getLabelName("L_Month")+label.getLabelName("L_Colon")%>
				<custom:selectdic property="startmonths" dictType="Months" command="notnull" value="<%=month %>" label="L_Month" />
				
				<%--<%=label.getLabelName("L_EndYear")+label.getLabelName("L_Colon")
				<custom:selectdic property="endyears" dictType="Years" command="notnull" value="<%=year %>" label="L_Year1" />
				
				<%=label.getLabelName("L_EndMonth")+label.getLabelName("L_Colon")%>
				<custom:selectdic property="endmonths" dictType="Months" command="notnull" value="<%=month %>" label="L_Month" />--%>
			</div>
		</td>
	</tr>
<!-------------------------------------2 row -------------------------------------------------->

 				
	<tr>
	  
	</tr>
      
	


 </table>

		 <table width="100%" cellspacing="0" cellpadding="0">
		        <tr>
		          <td class="summary_top"></td>
		        </tr>
		        <tr>
		          	<td class="td_center">

				  		
				  		<a onclick="javascript:exportCSV();"><input name="button" type="button" value="<%=label.getLabelName("L_ExportCSV")%>" /></a>

					</td>
		        </tr>
     	</table>
</form>

</body>
</html>
